/*
 * $Id: QueryParameter.java
 * Created on 2005-1-4 17:17:52
 */
package cn.donave.framework.pageable;

import org.hibernate.type.Type;

/**
 * 
 * @author Tim Du
 * @version $Revision: 2.0$
 */
public final class QueryParameter {
	private String name = null;
	private Object value = null;
	private Type type = null;
	
	public QueryParameter(){
	}
	
	public QueryParameter(String name, Object value, Type type){
		this.name = name;
		this.value = value;
		this.type = type;
	}

	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return Returns the type.
	 */
	public Type getType() {
		return type;
	}
	/**
	 * @param type The type to set.
	 */
	public void setType(Type type) {
		this.type = type;
	}
	/**
	 * @return Returns the value.
	 */
	public Object getValue() {
		return value;
	}
	/**
	 * @param value The value to set.
	 */
	public void setValue(Object value) {
		this.value = value;
	}
}
